package com.stary.pay.wxpay.api.response;

import com.stary.pay.wxpay.api.WxpayResponse;

/**
 * <p>wxpay transfer response</p>
 * @author stary {@link stary1993@qq.com}
 * @since 2019-5-12
 */
public class WxpayTransfersResponse extends WxpayResponse {

	private static final long serialVersionUID = 4881040660674770274L;
	
	/*------------ 以下字段在return_code为SUCCESS的时候有返回  ------------*/

	/**
	 * 业务结果 SUCCESS/FAIL
	 */
	private String resultCode;
	/**
	 * 错误代码 当result_code为FAIL时返回
	 */
	private String errCode;
	/**
	 * 错误代码描述 当result_code为FAIL时返回
	 */
	private String errCodeDes;
	/**
	 * 申请商户号的appid或商户号绑定的appid（企业号corpid即为此appId）
	 */
	private String mchAppid;
	/**
	 * 微信支付分配的商户号
	 */
	private String mchid;
	/**
	 * 随机字符串
	 */
	private String nonceStr;
	/**
	 * 微信支付分配的终端设备号
	 */
	private String deviceInfo;

	/*------------ 以下字段在return_code 、result_code都为SUCCESS时有返回 ------------*/
	
	/**
	 * 商户单号 
	 */
	private String partnerTradeNo;
	/**
	 * 企业付款成功，返回的微信付款单号
	 */
	private String paymentNo;
	/**
	 * 企业付款成功时间
	 */
	private String paymentTime;
	
	public String getResultCode() {
		return resultCode;
	}
	
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	
	public String getErrCode() {
		return errCode;
	}
	
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	
	public String getErrCodeDes() {
		return errCodeDes;
	}
	
	public void setErrCodeDes(String errCodeDes) {
		this.errCodeDes = errCodeDes;
	}
	public String getMchAppid() {
		return mchAppid;
	}
	public void setMchAppid(String mchAppid) {
		this.mchAppid = mchAppid;
	}
	
	public String getMchid() {
		return mchid;
	}
	public void setMchid(String mchid) {
		this.mchid = mchid;
	}
	
	public String getNonceStr() {
		return nonceStr;
	}
	
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	
	public String getDeviceInfo() {
		return deviceInfo;
	}
	
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	
	public String getPartnerTradeNo() {
		return partnerTradeNo;
	}
	
	public void setPartnerTradeNo(String partnerTradeNo) {
		this.partnerTradeNo = partnerTradeNo;
	}
	
	public String getPaymentNo() {
		return paymentNo;
	}
	
	public void setPaymentNo(String paymentNo) {
		this.paymentNo = paymentNo;
	}
	
	public String getPaymentTime() {
		return paymentTime;
	}
	
	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}
		
}
